from enum import Enum
from typing import Literal


class BoardcastTypeEnum(str, Enum):
    """订阅类型"""

    SIGN_RESULT = "订阅二重螺旋签到结果"
    SIGN_DNA = "订阅二重螺旋签到"
    MH_SUBSCRIBE = "订阅二重螺旋密函"
    MH_PIC_SUBSCRIBE = "订阅二重螺旋图片密函"


BoardcastType = Literal[
    BoardcastTypeEnum.SIGN_RESULT,
    BoardcastTypeEnum.SIGN_DNA,
    BoardcastTypeEnum.MH_SUBSCRIBE,
    BoardcastTypeEnum.MH_PIC_SUBSCRIBE,
]
